

#include <iostream>
using namespace std;

class Time
{
public:
	Time(int hour)
		:_hour(hour)
	{
		cout << "Time(int hour)" << endl;
	}

private:
	int _hour;
};

class Date 
{
public:
	Date(int& x, int year = 1900, int month = 1, int day = 1)
		:_year(year),
		_month(month),
		_day(day),
		_t(12),
		_ref(x),
		_n(1)
	{

	}

	void Print()
	{
		cout << _year << "/" << _month << "/" << _day << endl;
	}
private:
	int _year;
	int _month;
	int _day;

	Time _t;
	int& _ref;
	const int _n;
};

int main()
{
	int i = 0;

	Date d(i);
	d.Print();

	return 0;
}